package emulator.analyzer.util;

public class RelocationMapper implements AddressMapper {
	int displacement;
	
	public RelocationMapper(int displacement) {
		this.displacement = displacement;
	}

	@Override
	public void set(byte[] memory, int address, int value) {
		memory[address + displacement] = (byte)value;
	}

}
